﻿<%@ Page Language="C#" MasterPageFile="~/TrangChu.master" AutoEventWireup="true" CodeFile="DangKy.aspx.cs" Inherits="_Default" Title="Đăng Ký" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="text-align: center">
    <div style="display: none;">        
        <table border="1" cellspacing="0">
            <tr>
                <td>
                    <table style="width: 100%">
                        <tr>
                            <td colspan="3" style="text-align: center; height: 40px;">
                             <strong><span style="font-size: 16pt">
                                ĐĂNG KÝ DỰ THI TRẮC NGHIỆM TRỰC TUYẾN</span>
                             </strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 35%; text-align: right; height: 30px;">Họ và tên:
                            </td>
                            <td colspan="2" style="text-align: left; height: 30px;">
                            <asp:TextBox ID="txtHoTen" runat="server" Style="width: 30%"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="width: 35%; text-align: right; height: 31px;">Giới tính:
                            </td>
                            <td colspan="2" style="text-align: left; height: 31px;">
                            <asp:RadioButton ID="rbtnNam" runat="server" Checked="True" GroupName="GioiTinh" Text="Nam" />
                            <asp:RadioButton ID="rbtnNu" runat="server" GroupName="GioiTinh" Text="Nữ" /></td>
                        </tr>
                        <tr>
                            <td style="width: 35%; text-align: right; height: 30px;">Ngày sinh:
                            </td>
                            <td colspan="2" style="text-align: left; height: 30px;">
                            <asp:DropDownList ID="droNgay" runat="server">
                                <asp:ListItem Selected="True">1</asp:ListItem>
                                <asp:ListItem>2</asp:ListItem>
                                <asp:ListItem>3</asp:ListItem>
                                <asp:ListItem>4</asp:ListItem>
                                <asp:ListItem>5</asp:ListItem>
                                <asp:ListItem>6</asp:ListItem>
                                <asp:ListItem>7</asp:ListItem>
                                <asp:ListItem>8</asp:ListItem>
                                <asp:ListItem>9</asp:ListItem>
                                <asp:ListItem>10</asp:ListItem>
                                <asp:ListItem>11</asp:ListItem>
                                <asp:ListItem>12</asp:ListItem>
                                <asp:ListItem>13</asp:ListItem>
                                <asp:ListItem>14</asp:ListItem>
                                <asp:ListItem>15</asp:ListItem>
                                <asp:ListItem>16</asp:ListItem>
                                <asp:ListItem>17</asp:ListItem>
                                <asp:ListItem>18</asp:ListItem>
                                <asp:ListItem>19</asp:ListItem>
                                <asp:ListItem>20</asp:ListItem>
                                <asp:ListItem>21</asp:ListItem>
                                <asp:ListItem>22</asp:ListItem>
                                <asp:ListItem>23</asp:ListItem>
                                <asp:ListItem>24</asp:ListItem>
                                <asp:ListItem>25</asp:ListItem>
                                <asp:ListItem>26</asp:ListItem>
                                <asp:ListItem>27</asp:ListItem>
                                <asp:ListItem>28</asp:ListItem>
                                <asp:ListItem>29</asp:ListItem>
                                <asp:ListItem>30</asp:ListItem>
                                <asp:ListItem>31</asp:ListItem>
                            </asp:DropDownList>
                            <asp:Label ID="Label1" runat="server" Text="Tháng"></asp:Label>
                            <asp:DropDownList ID="droThang" runat="server">
                                <asp:ListItem>1</asp:ListItem>
                                <asp:ListItem>2</asp:ListItem>
                                <asp:ListItem>3</asp:ListItem>
                                <asp:ListItem>4</asp:ListItem>
                                <asp:ListItem>5</asp:ListItem>
                                <asp:ListItem>6</asp:ListItem>
                                <asp:ListItem>7</asp:ListItem>
                                <asp:ListItem>8</asp:ListItem>
                                <asp:ListItem>9</asp:ListItem>
                                <asp:ListItem>10</asp:ListItem>
                                <asp:ListItem>11</asp:ListItem>
                                <asp:ListItem>12</asp:ListItem>
                            </asp:DropDownList>
                            <asp:Label ID="Label2" runat="server" Text="Năm"></asp:Label>
                            <asp:DropDownList ID="droNam" runat="server">
                                <asp:ListItem>1988</asp:ListItem>
                                <asp:ListItem>1989</asp:ListItem>
                                <asp:ListItem>1990</asp:ListItem>
                                <asp:ListItem>1991</asp:ListItem>
                                <asp:ListItem>1992</asp:ListItem>
                                <asp:ListItem>1993</asp:ListItem>
                                <asp:ListItem>1994</asp:ListItem>
                                <asp:ListItem>1995</asp:ListItem>
                                <asp:ListItem>1996</asp:ListItem>
                                <asp:ListItem>1997</asp:ListItem>
                                <asp:ListItem>1999</asp:ListItem>
                                <asp:ListItem>2000</asp:ListItem>
                            </asp:DropDownList></td>
                    </tr>
                        <tr>
                            <td style="width: 35%; text-align: right; height: 30px;">Địa chỉ:
                            </td>
                            <td colspan="2" style="text-align: left; height: 30px;">
                            <asp:TextBox ID="txtDiaChi" runat="server" Style="width: 60%"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="width: 35%; text-align: right; height: 30px;">Email:
                            </td>
                        <td colspan="2" style="text-align: left; height: 30px;">
                            <asp:TextBox ID="txtEmail" runat="server" Style="width: 30%" ToolTip="Địa chỉ email của bạn và cũng là email để đăng nhập sau này."></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                                ErrorMessage="Email không đúng." ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
                        </tr>
                        <tr>
                            <td style="width: 35%; text-align: right; height: 30px;">Mật khẩu:
                            </td>
                            <td colspan="2" style="text-align: left; height: 30px;">
                            <asp:TextBox ID="txtMatKhau" runat="server" Style="width: 30%" TextMode="Password"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="width: 35%; text-align: right; height: 40px;">
                            </td>
                            <td colspan="2" style="text-align: left; height: 40px;">
                            <asp:Button ID="btnDangKy" runat="server" Text="Đăng ký" OnClick="btnDangKy_Click" />
                            <asp:Button ID="Button1" runat="server" Text="Hủy" OnClick="btnDangKy_Click" PostBackUrl="~/TrangChu.aspx" /></td>
                        </tr>
                </table>
                </td>
            </tr>
        </table>
    </div>
</div>
</asp:Content>

